package com.ian.linked;

import java.util.LinkedHashMap;

import java.util.Map;

/**
 * @author zhangyaowen
 * @date 2022/4/28 9:38 下午
 */
public class LinkedTest {

    public static void main(String[] args) {

        Map<Integer,Integer> map = new LinkedHashMap<>();
            
        map.put(10,10);
        map.put(5,5);
        map.put(8,8);
        map.put(9,9);

        for (Map.Entry<Integer, Integer> entry : map.entrySet()) {
            System.out.println(entry.getKey());
        }

        

    }
}
